<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="fm" %>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>


    <title>My JSP 'insert.jsp' starting page</title>

    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <!--
    <link rel="stylesheet" type="text/css" href="styles.css">
    -->
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.12.4.js"></script>

    <script type="text/javascript">

        /*function checkSname(){
            var sname=$("[name='sname']").val();
            if(sname==''||sname.length==0){
                $("[name='sname']").focus();
                alert("姓名必填!");
                return false;
            }
            return true;
        }

        $(function(){
            $("#xxForm").submit(
                function(){
                    if(!checkSname()) return false;
                    return true;
                }
            );
        });*/

    </script>
</head>

<body>
<form id="myForm" action="/realauthdoinsert" method="post">
    <input type="hidden" name="applier.lid" value="3">
    姓名<input type="text" name="realname"><br/>
    性别<select name="sex">
        <option value="0">男</option>
        <option value="1">女</option>
    </select><br/>
    证件号码<input type="text" name="idnumber"><br/>
    出生日期<input type="text" name="borndate"><br/>
    证件地址<input type="text" name="address"><br/>
    身份证图片正<input type="text" name="image1"><br/>
    身份证图片正<input type="text" name="image2"><br/>
    <input type="submit" value="提交认证">
</form>
</body>
</html>